package com.amway.ll.model;

public class Tree {

	String  id;
	String text;
	String href;
	String hrefTarget;
	boolean leaf;
	
	public Tree(){
		leaf = true;
		hrefTarget = "right";
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		href = "getusermessage.do/"+id;
		this.id = id;
	}

	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public boolean isLeaf() {
		return leaf;
	}
	public void setLeaf(boolean leaf) {
		this.leaf = leaf;
	}
 
}
